import request from '@/utils/request'

export function getdoOrderList(params) {
//   console.log(params)
  return request({
    url: '/pre/do/order/query',
    method: 'post',
    data: params
  })
}

export function adddoOrder(params) {
  console.log(params)
  return request({
    url: '/pre/do/order/add',
    method: 'post',
    data: params
  })
}

export function getProductDetail(params) {
  console.log(params)
  return request({
    url: '/pre/do/order/query/上品/qty',
    method: 'post',
    data: params
  })
}